package fun.joney.pojo;

import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author wangxianchen
 * @create 2018-06-06
 * @desc
 */
@Getter
@Setter
@ToString
public class Info {


    private Integer id;
    private String name;
    private String addr;
    private String createTime;


    public Info(Integer id, String name, String addr, String createTime) {
        super();
        this.id = id;
        this.name = name;
        this.addr = addr;
        this.createTime = createTime;
    }


/*
    private SimpleIntegerProperty id;
    private SimpleStringProperty name;
    private SimpleStringProperty addr;
    private SimpleStringProperty createTime;


    public Info(Integer id, String name, String addr, String createTime) {
        super();
        this.id = new SimpleIntegerProperty(id);
        this.name = new SimpleStringProperty(name);
        this.addr = new SimpleStringProperty(addr);
        this.createTime = new SimpleStringProperty(createTime);
    }
*/

  /*  public Integer getId() {
        return id.get();
    }

    public void setId(Integer id) {
        this.id.set(id);
    }

    public String getName() {
        return name.get();
    }


    public void setName(String name) {
        this.name.set(name);
    }

    public String getAddr() {
        return addr.get();
    }


    public void setAddr(String addr) {
        this.addr.set(addr);
    }

    public String getCreateTime() {
        return createTime.get();
    }


    public void setCreateTime(String createTime) {
        this.createTime.set(createTime);
    }*/
}
